﻿using S.RBAC.Domain.Help;
using S.RBAC.Domain.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace S.RBAC.Infrastructure.Interface
{
    public interface IDepartmentRepository : IBaseRepository<Department>
    {
        Task<List<Department>> GetListDepartment(Expression<Func<Department, bool>> expre);

        Task<List<Department>> GetAllDepartment();

        Task<int> AddDepartment(Department department);

        Task<Department> GetInfoDepartment(Expression<Func<Department, bool>> expre);

        Task<List<MenuItem>> GetDepartment(int departId);
    }
}
